The CDF_VARNUM function returns the variable number associated with a given variable name in a Common Data Format file.
Result = CDF_VARNUM( Id, VarName [, IsZVar] )
Returns the variable number of a specified variable name. If the specified variable cannot be found in the CDF file, CDF_VARNUM returns the scalar -1.
The CDF ID, returned from a previous call to CDF_OPEN or CDF_CREATE.
A string containing the name of the variable.
A named variable into which CDF_VARNUM will place a 1 to indicate that the referenced variable is a zVariable or a 0 to indicate that it is an rVariable.
None
See the example for CDF_VARGET.
Pre 4.0 |
Introduced |